package main

import "fmt"

func main() {
	var num1 string
	var num2 string
	fmt.Println("请输入：")
	fmt.Scan(&num1)
	for _, v := range num1 {
		num2 = string(v) + num2
	}
	fmt.Println(num2)
}
